<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-multi-check-by-one-pop" data-options="border:false;width:100%">
	<div class="easyui-panel list-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
	  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
			<p>
				<span class="badge">提示</span>
				 <strong><font color="red">双击</font></strong> 记录行, 可以查看详情
			</p>			
		</div>   
	
		<table class="easyui-datagrid dg-list" 
			data-options="rownumbers:true,
			animate: true,						
			striped:true,
			border:true,
			//singleSelect:false,
			idField: 'id',						
			fitColumns: true,
			checkOnSelect:true,
			selectOnCheck:true,
			pagination : true">
			
			<thead>						
				<tr>								
					<th field="dept_name" width="80" halign="center" align="left">名称</th>
					
					<th field="prescribe_num" width="60" align="center">处方总数</th>
					<th field="prescribe_num_ab" width="60" align="center">同一人多检查处方总数</th>
					<th field="prescribe_num_abper" width="60" align="center" data-options="
						formatter: function(value,row,index){
							if (value && value > 0){
								return   value.toFixed(2) +'%';							
							}else{
								return '0.0%';
							}
						}
						
					">同一人多检查处方比例</th>
											
				</tr>
			</thead>
			
		</table>
	</div>
	
</div> 

 
<script>
requirejs(['popListPage','multiCheck','domReady!'],function(flowedit,multiCheck,doc){
	flowedit.init({doc:doc,
		rootId:'panel-multi-check-by-one-pop',
		subSystemCode:'medical',
		moduleCode:'multiCheckInfo',
		queryModule:'multiCheck',		
		querylistUrl:'getListDomain',
		editWindow:'multi-check-by-one-pop-win',
		initElement:multiCheck.initMain,				
		rowClick:multiCheck.clickBizRow
	});
});	
</script>

